package com.zenchn.entity;

import com.zenchn.model.TMiCustomerContacts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@ApiModel(value="客户存储对象",description="客户存储对象")
public class TMiCustomerDO implements Serializable {

    private static final long serialVersionUID = 1028687607654234423L;

    @ApiModelProperty(value="客户ID")
    private String customerId;

    @ApiModelProperty(value="类型 1:代理商 2:医院")
    private String customerType;

    @NotEmpty(message = "所属省份不能为空")
    @ApiModelProperty(value="所属省份")
    private String areasCode;

    @NotEmpty(message = "企业名称不能为空")
    @ApiModelProperty(value="企业名称")
    private String customerName;

    @NotEmpty(message = "地址不能为空")
    @ApiModelProperty(value="地址")
    private String customerAdress;

    @NotEmpty(message = "主营不能为空")
    @ApiModelProperty(value="主营")
    private String business;

    @NotEmpty(message = "业务区域不能为空")
    @ApiModelProperty(value="业务区域")
    private String region;

    @ApiModelProperty(value="网址")
    private String net;

    @ApiModelProperty(value="联系人列表")
    private List<TMiCustomerContacts> contactList;

    @ApiModelProperty(value="所属代理商")
    private String belongTo;

    public String getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(String belongTo) {
        this.belongTo = belongTo;
    }

    public String getNet() {
        return net;
    }

    public void setNet(String net) {
        this.net = net;
    }

    public List<TMiCustomerContacts> getContactList() {
        return contactList;
    }

    public void setContactList(List<TMiCustomerContacts> contactList) {
        this.contactList = contactList;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public String getAreasCode() {
        return areasCode;
    }

    public void setAreasCode(String areasCode) {
        this.areasCode = areasCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerAdress() {
        return customerAdress;
    }

    public void setCustomerAdress(String customerAdress) {
        this.customerAdress = customerAdress;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }
}
